package com.gitee.jnxj.nraft.autoconfigure;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author 江南小俊
 * @since 2021/7/12
 **/
@Data
@ConfigurationProperties("nraft")
@ToString
public class NRaftConfig {
    private List<NRaft> nodes;
    private String log_path;
}
